package layeredneuralnetwork;

public class Weight {
	private double weight;
	private double diagHessian;
//	private int hashCode;
	
	public Weight(double weight)
	{
		this.weight = weight;
//		this.hashCode = HashManager.instance.WeightHash++;
	}
	
	public void setWeight(double weight)
	{
		this.weight = weight;
	}
	
	public void setDiagHessian(double value)
	{
		this.diagHessian = value;
	}
	
	public double getDiagHessian()
	{
		return this.diagHessian;
	}
	
	public double getWeight()
	{
		return this.weight;
	}
	
//	@Override
//	public int hashCode() {
//		// TODO Auto-generated method stub
//		return this.hashCode;
//	}
}
